gsk: Add GL profiler
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 12 Jul 2016 13:50:48 +0000 (14:50 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:08 +0000 (11:49 +0100)
commit30be7bd5438ba5d5e8d80f413338d4cb85dbbf23
tree59a133455ab14108eee84bc66795f670cba67261
parent8807f23f76d3cdd8aea0bff147e8e3a9941f476c
gsk: Add GL profiler

We can use the GL_ARB_timer_query extension (available since OpenGL
3.2, and part of the OpenGL specification since version 3.3) to query
the time elapsed when drawing each frame. This allows us to gather
timing information on our use of the GPU.
gsk/Makefile.am
gsk/gskglprofiler.c [new file with mode: 0644]
gsk/gskglprofilerprivate.h [new file with mode: 0644]
gsk/gskglrenderer.c